home *** CD-ROM | disk | FTP | other *** search
- Path: news.smartlink.net!usenet
- From: nmarrone@smartlink.net (Nicholas Marrone)
- Newsgroups: comp.lang.c
- Subject: SIGSEV and symifiy, unable to find crash (djgpp specific)
- Date: Mon, 22 Apr 1996 04:00:30 GMT
- Organization: SmartLink.net Premier ISP 805-294-1273
- Message-ID: <4ldra2$o23@frodo.smartlink.net>
- NNTP-Posting-Host: pm42-52.smartlink.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- Hullo,
- I'm sorry I'm posting a DJGPP specific question here, but I don't know
- where the appropriate group is. If someone could point it out to me,
- I'd appreciate it.
- I am having trouble debugging a menu system I made. The test menu I
- made consists of a loop in which it will accept a key to see which
- header is selected (I have not made a real keyboard handler yet), and
- then will call the function to process that header. It looks a lot
- like DOS's text editor. In any case, the first header I select works
- fine, and I can call a function from an item without any trouble. The
- second time I select a header, whether it is the same header as
- previously selected or a different one, the program crashes with a
- SIGSEV. Using symify, it points to the opening line of the function
- that is called when a menu header is selected. What I don't understand
- exactly is: what is symify pointing to here? Does it mean that the
- program crashed in that function, in any one of the functions called
- in it, or on that line? Why did the function go through successfully
- the first time and crash the second?
-
- On another note, could someone point me to some readable reference
- material concerning how to use MAKE? I am very tired of having to
- compile the whole thing every time.
-
- Thanks for any help.
-
- nick
-
-
-